using System;

namespace CommonLibrary.Web.Core
{
    public interface IEntity
    {
        /// <summary>
        /// Id of the entity
        /// </summary>
        int Id { get; set; }

        /// <summary>
        /// User who created this item
        /// </summary>
        string CreateUser { get; set; }

        /// <summary>
        /// User who updated this item
        /// </summary>
        string UpdateUser { get; set; }

        /// <summary>
        /// Time created
        /// </summary>
        DateTime CreateDate { get; set; }

        /// <summary>
        /// Time updated
        /// </summary>
        DateTime UpdateDate { get; set; }
    }
}